package com.soap.entity.vo;

import com.soap.commons.validators.GroupA;
import com.soap.commons.validators.GroupB;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @Author ZhangPY
 * @Date 2020/6/2
 */
@Data
public class UserLoginVo {

    /**
     * 手机号（可用手机号登录）
     */
    @NotBlank(message = "手机号不能为空" , groups = GroupA.class)
    private String phoneNum;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空"  , groups = {GroupA.class})
    private String password;


}
